package com.easy.project.domain.dto.system;

import com.baomidou.mybatisplus.annotation.TableField;
import com.easy.project.base.domain.dto.BaseQueryPageDTO;
import com.easy.project.base.validate.EnumValidate;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.time.LocalDate;
import java.util.List;

/**
 * @author wxz
 */
@Data
@ApiModel("UserDTO")
@EqualsAndHashCode(callSuper = true)
public class UserDTO extends BaseQueryPageDTO {

    @ApiModelProperty("用户登录名")
    private String userName;

    @ApiModelProperty("用户姓名")
    private String name;

    @ApiModelProperty("身份证号码")
    private String idNumber;

    @ApiModelProperty("电话号码")
    private String phoneNumber;

    @ApiModelProperty("邮箱")
    private String mail;

    @ApiModelProperty("性别 0 女 1 男")
    private Integer sex;

    @ApiModelProperty("生日 格式：yyyy-MM-dd")
    private LocalDate birthday;

    @ApiModelProperty("状态 0 可用 1 不可用")
    private Integer status;

}
